package com.isoftstone.springcloud.framework.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.util.List;

@ApiModel(description="某某的数据封装", value = "封装数据示例")
public class TestDataVO {

    @NotNull(message = "id.can.not.be.null")
    @ApiModelProperty(value = "订单主键id")
    private Long id;

    @Range(min = 1 ,max=3,message = "registerType的值必须在这个范围内")
    @ApiModelProperty(value = "登记类型 1二手 2 新的 3 退货")
    private Integer registerType;

    @ApiModelProperty(value = "数据的集合")
    private List<String> dataList;


}
